package cn.com.zhbs.netty.messageListener;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class Listener {
    @Autowired
    Map<String, LogicService> protoServiceMap;

    public LogicService getListener(String task) {
        return protoServiceMap.get(task);
    }

}
